package com.clps.test;

public class E1 {



    class A {

        public A() {
        }

        double f(double x, double y) {
            return x + y;
        }
    }

    class B extends A {
        public B() {
        }

        double f(int x, int y) {
            return x * y;
        }
    }

    public static void main(String[] args) {


//        B b = new B();;
//        System.out.println(b.f(3, 5));
//        System.out.println(b.f(3.0, 5.0));
    }
}
